<script setup>
import About from "@/views/About.vue";
import PriceDetail from "@/views/PriceDetail.vue";
import {useRoute} from "vue-router";
import {computed} from "vue";


const route = useRoute()
const productId = computed(() => route.query?.product_id)


</script>

<template>
  <div v-if="productId">
    <PriceDetail></PriceDetail>
  </div>
  <div v-else>
    <About></About>
  </div>

</template>

<style scoped>

</style>